package uit.edu.vn.portal.portlets.mycourse.models;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root
public class RecurrenceRule {
	
	@Element(name="count",required=false)
	private int count;

	@Element(name="frequency",required=false)
	private String frequency;
	
	@Element(name="frequencyDescription",required=false)
	private String frequencyDescription;
	
	@Element (name="interval",required=false)
	private int interval;
	
	@Element(name="until",required=false)
	private Time until;
	
	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getFrequency() {
		return frequency;
	}

	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}

	public String getFrequencyDescription() {
		return frequencyDescription;
	}

	public void setFrequencyDescription(String frequencyDescription) {
		this.frequencyDescription = frequencyDescription;
	}

	public int getInterval() {
		return interval;
	}

	public void setInterval(int interval) {
		this.interval = interval;
	}
	
	public Time getUntil() {
		return until;
	}

	public void setUntil(Time until) {
		this.until = until;
	}
	
}
